home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-17 | 1.7 KB | 72 lines |
- #
- # Makes the hershey library.
- # Makes the binary Hershey font file for VOGL or SGI-GL
- #
- # Where to put the binary versions of the FONTS.
- #
- #FONTLIB = /usr/local/lib/hershey
- FONTLIB = /tmp
-
- # Where to get teh VOGL header files from (not needed on SGI)
- #
- #INC = ../../src
- INC=.
-
-
- CFLAGS = -O -float -DSGI -I$(INC) -DFONTLIB=\"$(FONTLIB)\"
-
- # For VOGL...
- #OURLIBS = libhershey.a ../../src/libvogl.a
- #LIBS = -lsuntool -lsunwindow -lpixrect
- #RANLIB = ranlib
- #
- # On a real SGI ...
- #
- OURLIBS = libhershey.a
- LIBS = -lgl_s
- RANLIB = echo
-
- .IGNORE:
-
- HDR = h2v.h
-
- all: libhershey.a h2v hdisp fdisp fonts
-
- libhershey.a: htext.o check.o halloc.o fhtext.o
- ar rcv libhershey.a htext.o check.o halloc.o fhtext.o
- $(RANLIB) libhershey.a
-
-
- h2v: h2v.o getchar.o
- cc -o $@ $@.o getchar.o -lm
-
- hdisp: hdisp.o getchar.o $(OURLIBS)
- cc -o $@ $@.o getchar.o $(OURLIBS) $(LIBS) -lm
-
- fdisp: fdisp.o $(OURLIBS)
- cc -o $@ $@.o $(OURLIBS) $(LIBS) -lm
-
- fonts: h2v
- h2v ../data/hersh.oc
- h2v ../data/hersh.or ../fonts/japan.hmp japanese
- mv astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb $(FONTLIB)
- touch fonts
-
- h2v: h2v.h
-
- clean:
- rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb *.o core fonts libhershey.a
-
- clobber:
- rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb *.o core h2v hdisp fdisp fonts \
- libhershey.a
-